package com.ibeetl.admin.core.service;

import com.ibeetl.admin.core.dao.FiDataCheckDetailDao;
import com.ibeetl.admin.core.entity.CoreSearch;
import com.ibeetl.admin.core.entity.FiDataCheckDetail;
import com.ibeetl.admin.core.entity.FiFinItemCheckDetail;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
public class FiDataCheckDetailService {
	@Autowired
	FiDataCheckDetailDao fiDataCheckDetailDao;
	public List<FiDataCheckDetail> isRE(CoreSearch coreSearch){
		return fiDataCheckDetailDao.isRE(coreSearch);
	}

	public List<FiDataCheckDetail> getFiDataCheckDetailDatas(CoreSearch coreSearch){
		return fiDataCheckDetailDao.getFiDataCheckDetailDatas(coreSearch);
	}

	public void saveFiDataCheckDetail(FiDataCheckDetail fiDataCheckDetail) {
		fiDataCheckDetailDao.insert(fiDataCheckDetail);
	}

	public void deleteFromFiDataCkeckDetail(CoreSearch search) {
		fiDataCheckDetailDao.deleteFromFiDataCkeckDetail(search);
	}

	public List<FiDataCheckDetail> getFiDataTransDetailDatasOfMoney(CoreSearch search) {
		return fiDataCheckDetailDao.getFiDataTransDetailDatasOfMoney(search);
	}

	public List<FiDataCheckDetail> getCoreGlInterfaceDatasOfMoney(CoreSearch search) {
		return fiDataCheckDetailDao.getCoreGlInterfaceDatasOfMoney(search);
	}
}
